<template>
    <div >
      <mt-header title="常见问题" >
        <router-link to="/question" slot="left">
          <mt-button icon="back"></mt-button>
        </router-link>
      </mt-header>
      <div class="page" >
        <b class="title">{{ask}}</b>
        <p class="xian"></p>
        <p>{{answer}}</p>

      </div>

    </div>
</template>

<script>
    export default {
        name: "QuestionDetail",
      data(){
         return{
           ask:"",
           answer:""
         }
      },
      mounted() {{
        this.ask=this.$route.query.ask;
        this.answer=this.$route.query.answer;
      }
      }
    }
</script>

<style scoped>
  .page{
    border-radius: 5px;
    background: white;
    margin: 10px;
    padding: 5px;
  }
  .title{
    font-size: 18px;
  }
  .xian{
    margin-top: 5px;
    margin-bottom: 5px;
    background: #c6ccd6;
    height: .5px;
    width: 100%;
  }
  p{
    margin-top: 10px;
    font-size: 15px;
  }




</style>
